Too bad it takes eight years to fix a wrongful law. In the meantime, how many other countries implemented the same kind of ill-designed laws, sometimes with the argument "other countries have it"?
Portugal updated its law on this matter this year. Those who approved, pushed or otherwise called for it knew it simply doesn't comply with EU's directives. But they don't care, they see it as a "possible obstacle in 8 years".